/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package persistence;

import model.Oscar;

/**
 *
 * @author Matthy & Jelle
 */
public class OscarService extends AbstractService{

  @Override
  public boolean validate(Object o) {
    Oscar oscar = (Oscar)o;
    return !(oscar.getNaam() == null || oscar.getNaam().isEmpty());
  }

}
